<ion-view view-title="产品信息">

    <ion-header-bar class="index_head">
        <button ng-if="!onlypro" class="button button-icon icon ion-android-arrow-back" ng-click="$ionicGoBack()" style="color: #fff"></button>
        <div class="h1 title"> 产品信息</div>
        <!--<button class="button button-clear button-positive zhuce_head_btn" style="color: #fff;font-size: 14px;" ng-click="comitdata()">完成</button>-->
    </ion-header-bar>
    
    <!--<ion-nav-bar>-->
        <!--<ion-nav-back-button class="button-clear" style="padding-left: 15px;">-->
            <!--&lt;!&ndash;自定义返回图标&ndash;&gt;-->
            <!--<i  style="display: block;width: 22px;height:22px;margin-top: 4px;background: url('./img/back.png') center/22px 22px"></i>-->
        <!--</ion-nav-back-button>-->
        <!--&lt;!&ndash;ng-if="platform.androidAPP||platform.IOSAPP"&ndash;&gt;-->
        <!--<ion-nav-buttons  side="right">-->
            <!--<button ng-if="!ISWEB" class="button" ng-click="proshare()" style="background-color: #fff;">-->
                <!--<img style="width: 18px;vertical-align: middle;margin-right: 10px" src="img/proShare.png"/>-->
            <!--</button>-->
        <!--</ion-nav-buttons>-->
    <!--</ion-nav-bar>-->

    <ion-content class="has-tabs w4-simu">
        <div class="w4-simu-1 bg-fff">
            <div class="w4-simu-name">{{item.detail.jjmc}}</div>
            <div class="w4-simu row row-no-padding w4-simu-top1">
                <div class="col text-center">
                    <div>最新净值</div>
                    <div>{{item.detail.lsjzJson[0].jzdw || '--'}}</div>
                </div>
                <div class="col text-center">
                    <div>累计净值</div>
                    <div>{{item.detail.lsjzJson[0].ljjz || '--'}}</div>
                </div>
                <div class="col text-center">
                    <div>涨跌幅</div>
                    <div>{{item.detail.lsjzJson[0].zdf || '--'}}</div>
                </div>
            </div>

        </div>
        <div ng-if="item.detail.activitiesMollionsWealthList.length" class="w4-activity-info">{{item.detail.activitiesMollionsWealthList[0].activitiesDesc}}
            <a ng-click="windowopen(item.detail.activitiesMollionsWealthList[0].activitiesSkipLink)">{{item.detail.activitiesMollionsWealthList[0].activitiesSkipName}}</a>
        </div>
        <div class="w4-xtzgDe-line"></div>
        <div class="pro-detail-mulu bg-fff"><span class="pro-detail-round"></span>基础信息</div>
        <div class="w4-simu-2 bg-fff">
            <div class="row">
                <div class="col col-25">基金名称</div>
                <div class="col col-75 text-right">{{item.detail.jjqc}}</div>
            </div>
            <div class="row">
                <div class="col">基金经理</div>
                <div class="col text-right">{{item.detail.jjjlmc}}</div>
            </div>
            <div class="row">
                <div class="col col-25">私募公司</div>
                <div class="col col-75 text-right">{{item.detail.jjgs}}</div>
            </div>
            <div class="row">
                <div class="col">基金类型</div>
                <div class="col text-right">{{item.detail.jjfl}}</div>
            </div>
            <div class="row">
                <div class="col col-25">发行方</div>
                <div class="col col-75 text-right">{{item.detail.jjfxr}}</div>
            </div>
            <div class="row">
                <div class="col col-25">托管方</div>
                <div class="col col-75 text-right">{{item.detail.tgyh}}</div>
            </div>
            <div class="row">
                <div class="col col-25">结构形式</div>
                <div class="col col-75 text-right">{{item.detail.jgxs}}</div>
            </div>
            <div class="row">
                <div class="col col-25">组织形式</div>
                <div class="col col-75 text-right">{{item.detail.zzxs}}</div>
            </div>
            <div class="row">
                <div class="col col-25">期限说明</div>
                <div class="col col-75 text-right">{{item.detail.cpqxsm?item.detail.cpqxsm:'-'}}</div>
            </div>
            <div class="row">
                <div class="col col-25">开放日期</div>
                <div class="col col-75 text-right">{{item.buynotice.kfrq?item.buynotice.kfrq:'-'}}</div>
            </div>
            <div class="row">
                <div class="col col-25">成立日期</div>
                <div class="col col-75 text-right">{{item.detail.jjclsjstr?item.detail.jjclsjstr:'-'}}</div>
            </div>
            <div class="row">
                <div class="col">封闭期</div>
                <div class="col text-right">{{item.detail.fbq?item.detail.fbq:'-'}}</div>
            </div>
            <div class="row">
                <div class="col">续追金额</div>
                <div class="col text-right">{{item.buynotice.zjzdje}}万</div>
            </div>
            <div class="row">
                <div class="col">认购金额</div>
                <div class="col text-right">{{item.buynotice.zdrgje}}万</div>
            </div>

            <!--<div style="background-color: #f0eff5;padding: 10px 0 0 0">-->
                <!--<div style="height: 44px;background-color: #f7f7f7;padding: 0 0 0 15px;line-height: 44px">认购须知:</div>-->
            <!--</div>-->
            <!--<div style="padding-left: 2rem"  ng-bind-html="item.buynotice.buynoticedetail"></div>-->


            <!--<div class="w4-xtzgDe-hasbid">-->
                <!--&lt;!&ndash;<p>当前报价由<span><img  src="img/sfa.png" width="20px"/>金策师官方</span> 提供</p>&ndash;&gt;-->
                <!--<p>产品成立后，佣金由产品方直接进行支付。具体以产品方通知时间为准。</p>-->
            <!--</div>-->


            <!--<div>-->
                <!--<div class="w4-xtzgDe-line"></div>-->
                <!--<table class="w4-xtzgDe-table">-->
                    <!--<tr>-->
                        <!--<td nowrap="nowrap">产品名称</td>-->
                        <!--<td colspan="3">{{item.detail.jjqc}}</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>基金状态</td>-->
                        <!--<td>{{item.detail.jjzt?item.detail.jjzt:'-'}}</td>-->
                        <!--<td nowrap="nowrap">基金类型</td>-->
                        <!--<td>{{item.detail.jjfl}}</td>-->

                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>发行方</td>-->
                        <!--<td colspan="3">{{item.detail.jjfxr}}</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>托管方</td>-->
                        <!--<td colspan="3">{{item.detail.tgyh}}</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>结构形式</td>-->
                        <!--<td>{{item.detail.jgxs}}</td>-->
                        <!--<td>组织形式</td>-->
                        <!--<td>{{item.detail.zzxs}}</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>期限说明</td>-->
                        <!--<td colspan="3">{{item.detail.cpqxsm?item.detail.cpqxsm:'-'}}</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>开放日期</td>-->
                        <!--<td colspan="3">{{item.buynotice.kfrq?item.buynotice.kfrq:'-'}}</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>成立日期</td>-->
                        <!--<td>{{item.detail.jjclsjstr?item.detail.jjclsjstr:'-'}}</td>-->
                        <!--<td>封闭期</td>-->
                        <!--<td>{{item.detail.fbq?item.detail.fbq:'-'}}</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>续追金额</td>-->
                        <!--<td>{{item.buynotice.zjzdje}}万</td>-->
                        <!--<td>认购金额</td>-->
                        <!--<td>{{item.buynotice.zdrgje}}万</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>认购须知</td>-->
                        <!--<td colspan="3" ng-bind-html="item.buynotice.buynoticedetail"></td>-->
                    <!--</tr>-->
                    <!--<tr ng-show="item.detail.productadvantage">-->
                        <!--<td>产品优势</td>-->
                        <!--<td colspan="3" ng-bind-html="item.detail.productadvantage"></td>-->
                    <!--</tr>-->
                    <!--<tr ng-show="item.manager.jjjljs">-->
                        <!--<td>基金经理</td>-->
                        <!--<td colspan="3" ng-bind-html="item.manager.jjjljs"></td>-->
                    <!--</tr>-->
                    <!--<tr ng-show="item.company.tdjj">-->
                        <!--<td>公司简介</td>-->
                        <!--<td colspan="3" ng-bind-html="item.company.tdjj"></td>-->
                    <!--</tr>-->
                    <!--<tr ng-show="item.company.investidea">-->
                        <!--<td>投资理念</td>-->
                        <!--<td colspan="3" ng-bind-html="item.company.investidea"></td>-->
                    <!--</tr>-->
                    <!--<tr ng-show="item.company.investteam">-->
                        <!--<td>投研团队</td>-->
                        <!--<td colspan="3" ng-bind-html="item.company.investteam"></td>-->
                    <!--</tr>-->
                <!--</table>-->
                <!--<div class="w4-xtzgDe-line" style="height:70px"></div>-->
            <!--</div>-->



            <!--<p ng-click="openOrder()" class="w4-xtzgDe-more">点击查看产品详情<i class="icon ion-ios-arrow-right"></i></p>-->
            <!--<div ng-if="share" style="height:40px"></div>-->
        </div>
        <div ng-if="item.buynotice.buynoticedetail">
            <div class="w4-xtzgDe-line"></div>
            <div class="pro-detail-mulu"><span class="pro-detail-round"></span>认购须知</div>
            <div class="pro-detail-text" ng-bind-html="item.buynotice.buynoticedetail"></div>
        </div>

        <div ng-if="item.detail.productadvantage">
            <div class="w4-xtzgDe-line"></div>
            <div class="pro-detail-mulu"><span class="pro-detail-round"></span>产品优势</div>
            <div class="pro-detail-text" ng-bind-html="item.detail.productadvantage"></div>
        </div>

        <div ng-if="item.manager.jjjljs">
            <div class="w4-xtzgDe-line"></div>
            <div class="pro-detail-mulu"><span class="pro-detail-round"></span>基金经理</div>
            <div class="pro-detail-text" ng-bind-html="item.manager.jjjljs"></div>
        </div>

        <div ng-if="item.company.tdjj">
            <div class="w4-xtzgDe-line"></div>
            <div class="pro-detail-mulu"><span class="pro-detail-round"></span>公司简介</div>
            <div class="pro-detail-text" ng-bind-html="item.company.tdjj"></div>
        </div>
        <div ng-if="item.company.investidea">
            <div class="w4-xtzgDe-line"></div>
            <div class="pro-detail-mulu"><span class="pro-detail-round"></span>投资理念</div>
            <div class="pro-detail-text" ng-bind-html="item.company.investidea"></div>
        </div>

        <div ng-if="item.company.investteam">
            <div class="w4-xtzgDe-line"></div>
            <div class="pro-detail-mulu"><span class="pro-detail-round"></span>投研团队</div>
            <div class="pro-detail-text" ng-bind-html="item.company.investteam"></div>
        </div>

        <div class="w4-xtzgDe-line"></div>
        <div ng-show="item.detail.sfaVideo && !share" class="pro-detail-mulu"><span class="pro-detail-round"></span>路演视频</div>
        <div ng-show="item.detail.sfaVideo && !share">
            <div  id="youkuplayer" style="width:100%;height:200px"></div>
            <div ng-if="item.detail.sfaVideo.isEncryption == 1">
                <div class="item video-pwd" ng-if="user.info.isLogin" >视频播放密码:<span>SFA</span></div>
                <div class="item video-pwd" ng-if="!user.info.isLogin" ng-click="gologin()"><span style="border-bottom: 1px solid #fc353a;margin-right: 5px">登录</span>查看密码</div>
            </div>
            <div ng-if="item.detail.sfaVideo.content">
                <div class="item item-icon-right video-text" ng-init="hideView = false" ng-click="hideView = !hideView">
                    视频简介
                    <i ng-if="!hideView" class="icon ion-ios-arrow-down"></i>
                    <i ng-if="hideView" class="icon ion-ios-arrow-up"></i>
                </div>
                <div class="list video-intro" ng-bind-html="item.detail.sfaVideo.content" ng-class="{hideClass:!hideView,showClass:hideView} "></div>
            </div>
        </div>
        <div class="w4-xtzgDe-line" ng-if="share&&sharePhone"></div>
        <div class="myself-head client-header" ng-if="share&&sharePhone" style="height: auto;padding-top: 0;border-bottom: none;padding: 0">
            <div style="border-bottom: 1px #f0eff5 solid;line-height: 39px;padding-left: 15px">理财师</div>
            <div class="row" style="padding: 15px">
                <div style="width: 60px">
                    <div class="myself-photo" style="margin: 0 auto">
                        <img ng-if="sharePhoneInfo.uImage.indexOf('wx.qlogo')>-1" ng-src="{{shopperUserInfoDto.userHeadImg}}?x-oss-process=image/resize,w_750" alt="头像">
                        <img ng-if="sharePhoneInfo.uImage.indexOf('wx.qlogo')<0" ng-src="{{shopperUserInfoDto.userHeadImg}}?x-oss-process=image/resize,w_750" alt="头像">
                    </div>
                </div>
                <div class="col col-80">
                    <div class="list">
                        <!--<div class="ng-binding">{{sharePhoneInfo.uRealName}}&nbsp;<span>{{sharePhoneInfo.uJob}}</span></div>
                        <div style="color: #999">{{sharePhoneInfo.uCompanyName}}</div>-->
                        <div class="ng-binding">{{shopperUserInfoDto.userName}}&nbsp;<span>{{shopperUserInfoDto.companyPostion}}</span></div>
                        <div style="color: #999">{{shopperUserInfoDto.companyName}}</div>
                    </div>
                </div>
            </div>
            <div class="pro-tuijian" ng-if="tuijianReson">推荐理由：{{tuijianReson}}</div>
        </div>
    </ion-content>

    <div ng-if="share&&sharePhone" class="w4-xtzgDe-bottom row row-no-padding bg-fff">

        <div class="col w4-xtzgDe-icon" style="padding-top: 12px" ui-sref="shopPreview({sphone:sharePhone, share: true})">
            <img width="18px" src="img/shops/shop.png"/>店铺首页
        </div>
        <div class="col w4-xtzgDe-icon" style="padding-top: 12px" ui-sref="shopChat({tid:sharePhoneInfo.id,ismaster:false,proid:proid,protype:'01',prosource:'platform',sphone:sharePhone})">

            <img width="20px" src="img/prozx.png">咨询

        </div>
        <div class="col" ng-if="productState == '2'">
            <div class="w4-xtzgDe-order w4-over">已下架</div>
        </div>
        <div class="col" ng-if="productState == '1'" ng-click="goClientOrder(item.detail.id,'01',item.detail.jjmc,sharePhone)">
            <div class="w4-xtzgDe-order">预约</div>
        </div>
    </div>





    <!--<div ng-if="!share" class="w4-xtzgDe-bottom row row-no-padding bg-fff">

        <div class="col w4-xtzgDe-icon" style="padding-top: 12px" ui-sref="shopPreview({sphone:sharePhone, share: true})">
            <img width="18px" src="img/shops/shop.png"/>店铺首页
        </div>
        <div class="col w4-xtzgDe-icon" style="padding-top: 12px" ui-sref="shopChat({tid:sharePhoneInfo.id,ismaster:false})">

            <img width="20px" src="img/prozx.png">咨询

        </div>
        <div class="col" ng-click="goClientOrder(item.detail.id,'01',item.detail.jjmc,sharePhone)">
            <div class="w4-xtzgDe-order">预约</div>
        </div>
    </div>-->

    <div ng-if="!share" class="w4-xtzgDe-bottom row row-no-padding bg-fff">
        <div ng-if="platform.androidAPP||platform.IOSAPP" class="col w4-xtzgDe-icon" ng-click="modal.copy_brief()" style="padding-top: 9px">
            <img width="25px" src="img/copy.png"/>复制
        </div>
        <div class="col w4-xtzgDe-icon">
            <a ng-click="bodaPhone()" style="color: #636363">
                <img width="25px" src="img/phone.png">咨询
            </a>
        </div>
        <div class="col" ng-click="goOrder(item.detail.id)">
            <div class="w4-xtzgDe-order">立即预约</div>
        </div>
    </div>

</ion-view>